﻿$(document).ready(function ()
{
    $("input:submit, a, button", ".demo").button();

    $('.ui-button').hover(
        function () { $(this).addClass('ui-state-hover'); },
        function () { $(this).removeClass('ui-state-hover'); }
    );
});

function HelpWindow(HelpCode) {
    if (HelpCode == null) {
        HelpCode = "";
    }
    HelpWindowHandle = window.open('/Help/' + HelpCode, 'HelpWindow', 'width=800,height=600,left=100,top=200,menubar=false,titlebar=false,toolbar=false');
    HelpWindowHandle.focus();
}

function PrintHelpPage() {
    alert("Print this Page");
}